<template>
  <div id="app" @contextmenu.prevent="current">
    <router-view v-loading="!viewShow" />
  </div>
</template>

<script>
import { setAddRoutes, menuSon } from "@/router";
import { getToken, setToken } from "@/utils/auth";
import md5 from "js-md5";
export default {
  name: "App",
  created() {},
  mounted() {},
  data() {
    return {
      viewShow: true
    };
  },
  computed: {
    userName() {
      return this.$store.state?.user?.username;
    }
  },
  destroyed() {},
  methods: {
    current() {
      console.log("右击事件禁止！");
    }
  }
};
</script>
